home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_automake.idb / usr / freeware / share / automake / remake-hdr.am.z / remake-hdr.am
Encoding:
Text File  |  1999-07-16  |  1.9 KB  |  44 lines

  1. ## automake - create Makefile.in from Makefile.am
  2. ## Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
  3.  
  4. ## This program is free software; you can redistribute it and/or modify
  5. ## it under the terms of the GNU General Public License as published by
  6. ## the Free Software Foundation; either version 2, or (at your option)
  7. ## any later version.
  8.  
  9. ## This program is distributed in the hope that it will be useful,
  10. ## but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. ## GNU General Public License for more details.
  13.  
  14. ## You should have received a copy of the GNU General Public License
  15. ## along with this program; if not, write to the Free Software
  16. ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  17. ## 02111-1307, USA.
  18. @CONFIG_HEADER@: @STAMP@
  19. ## Recover from removal of CONFIG_HEADER
  20.     @if test ! -f $@; then \
  21.         rm -f @STAMP@; \
  22.         $(MAKE) @STAMP@; \
  23.     else :; fi
  24. ## Explicitly look in srcdir for benefit of non-GNU makes.
  25. @STAMP@: $(srcdir)/@CONFIG_HEADER_IN@ $(top_builddir)/config.status
  26.     cd $(top_builddir) \
  27.       && CONFIG_FILES= CONFIG_HEADERS=@CONFIG_HEADER_FULL@ \
  28.          $(SHELL) ./config.status
  29. ## We used to try to get a real timestamp here.  But the fear is that
  30. ## that will cause unnecessary cvs conflicts
  31.     @echo timestamp > @STAMP@ 2> /dev/null
  32. ## Explicitly look in srcdir for benefit of non-GNU makes.
  33. $(srcdir)/@CONFIG_HEADER_IN@: @MAINTAINER_MODE_TRUE@$(srcdir)/@STAMP@.in
  34. ## Recover from removal of CONFIG_HEADER_IN
  35.     @if test ! -f $@; then \
  36.         rm -f $(srcdir)/@STAMP@.in; \
  37.         $(MAKE) $(srcdir)/@STAMP@.in; \
  38.     else :; fi
  39. $(srcdir)/@STAMP@.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) @FILES@
  40.     cd $(top_srcdir) && $(AUTOHEADER)
  41. ## We used to try to get a real timestamp here.  But the fear is that
  42. ## that will cause unnecessary cvs conflicts
  43.     @echo timestamp > $(srcdir)/@STAMP@.in 2> /dev/null
  44.